package com.perfma.xtest;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: junhui.si
 * @date: 2021-01-20 12:00
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ScriptDirectoryVO implements Comparable<ScriptDirectoryVO> {
    private Date modifyTime;

    @Override
    public int compareTo(ScriptDirectoryVO scriptDirectoryVO) {
        return this.modifyTime.compareTo(scriptDirectoryVO.getModifyTime());
    }
}
